Vertical And Horizontal Stretching And Shrinking Of Graphs